<script type="text/javascript">
  var str1 = 'Lucknow';
  var str2 = 'UP';
  alert(str1+ 'is the capital of '+str2);
</script>
